package com.mss.media.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Author 湫
 * @Date 2021/12/1 16:00
 * Name 管理员角色权限中间表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class AdminPermissionsRole extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * admin_permissions_role_id 主键
     */
    @TableId(value = "admin_permissions_role_id", type = IdType.AUTO)
    private Integer adminPermissionsRoleId;
    /**
     * 权限ID
     */
    private Integer adminPermissionsId;
    /**
     * 角色ID
     */
    private Integer adminRoleId;
}
